/**
 * 上海中赢金融信息服务有限公司
 * Copyright (c) 2017-2027 Chinazyjr,Inc.All Rights Reserved.
 */

package com.sys.midware.hadoop.model;

import java.io.Serializable;

/**
 * <b>ClassName:</b> BHDFSFile.java <br/>
 * <b>Description:</b> TODO <br/>
 * <b>Date:</b> 2016年3月25日 上午10:55:00<br/>
 * 
 * @author mobing
 * @version
 */
public class BHDFSFileBlock implements Serializable  {

    /**
     * serialVersionUID:TODO
     */
    
    private static final long serialVersionUID = -8536791976348791825L;

    private String names;

    private String hosts;

    private String topologyPaths;

    private String offset;

    private String length;

    public String getNames() {
        return names;
    }

    public void setNames(String names) {
        this.names = names;
    }

    public String getHosts() {
        return hosts;
    }

    public void setHosts(String hosts) {
        this.hosts = hosts;
    }

    public String getTopologyPaths() {
        return topologyPaths;
    }

    public void setTopologyPaths(String topologyPaths) {
        this.topologyPaths = topologyPaths;
    }

    
    
    @Override
    public String toString() {
        
        return new StringBuilder().append("BHDFSFileBlock[")
                .append("names=").append(names)
                .append(", hosts=").append(hosts)
                .append(", topologyPaths=").append(topologyPaths)
                .append(", offset=").append(offset)
                .append(", length=").append( length)
                .append("]\r\n").toString();
    }

    public String getOffset() {
        return offset;
    }

    public void setOffset(String offset) {
        this.offset = offset;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }

}
